from django.shortcuts import render
from django.http import HttpResponse

from body.models import mendb


# Create your views here.
def homepage(request):
    user_id = request.session.get('user_id')
    if user_id:
        user = mendb.objects.get(id=user_id)
    return render(request,"home.html")